package com.tuo51.evaluate.vo;

import lombok.Data;

import java.util.Date;

/**
 * 优惠码
 */

@Data
public class PromoCodeVO {

	private String id;

	private Boolean deleted = false;

	private Date created = new Date();

	private Integer type;

	private Integer rebate;

	private String code;

	private Long productId;  // always leads to vip id

    private String comment;

    private String dealer;

	private String dealerPhone;

	//总次数， 可用次数等于 总数量 - 销售数量
	private Integer salesQuota;

	//销售数量
    private Integer salesQuantity;

    //销售总额
	private Integer sales;

}
